package tests.kr.pe.mkseo.data;

import junit.framework.Assert;
import junit.framework.TestCase;
import kr.pe.mkseo.data.Category;

public class CategoryTest extends TestCase {
	
	public void testAddCategory() {
		Category c1 = Category.CreateCategory("A", null);
		Category c2 = Category.CreateCategory("B", "B category");
		Assert.assertEquals(2, Category.Size());
		
		Assert.assertEquals("A", c1.GetName());
		Assert.assertEquals("B category", c2.GetDescription());
	}
}
